package com.hljx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 科室项目对照关系表
 * </p>
 *
 * @author ${author}
 * @since 2024-01-12
 */
@Getter
@Setter
@TableName("sys_item_piont")
public class SysItemPiont {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 目标科室
     */
    @TableField("s_dept_code")
    @Schema(description = "目标科室")
    private String sDeptCode;

    /**
     * 源科室
     */
    @TableField("y_dept_code")
    @Schema(description = "源科室")
    private String yDeptCode;

    /**
     * 项目编号
     */
    @TableField("item_code")
    @Schema(description = "项目编号")
    private String itemCode;

    /**
     * 项目名称
     */
    @TableField("item_name")
    @Schema(description = "项目名称")
    private String itemName;

    /**
     * 点数
     */
    @TableField("piont")
    @Schema(description = "点数")
    private BigDecimal piont;

    /**
     * 0是不对冲 1是对冲
     */
    @TableField("is_offsetting")
    @Schema(description = "0是不计入 1是计入")
    private Integer isOffsetting;

    @TableField("period")
    @Schema(description = "周期")
    private  String   period ;
}
